//
//  ConfigUrl.swift
//  swiftProject
//
//  Created by ZhangSai on 2021/5/24.
//

import UIKit

struct Constants {
    
    static let OrderHeaderSearchViewHeight = 30;
    static let Spot_weigt_value = 1000;

    
    static let ENDPOINTIMAGE = "http://oss-ap-southeast-1.aliyuncs.com"

//    static let URL_UAT_ROOT = "http://47.74.190.124/";
//    static let URL_UAT_ROOT81 = "http://47.74.190.124/";

    static let URL_PRO_ROOT = "https://www.wepozt.com/"
    static let URL_PRO_ROOT81 = "https://www.wepozt.com/"
    
    
    static let window = UIApplication.shared.windows.first

    static let screenWidth = UIScreen.main.bounds.size.width
    static let screenHeight = UIScreen.main.bounds.size.height
    static let is_iphoneX = screenHeight/screenWidth>2
    static let NavagitionHeight:CGFloat = is_iphoneX ? 88 : 64
    static let kTabBarHeight:CGFloat = is_iphoneX ? 49.0 + 34.0 : 49.0
    static let ratioIntervalHeighrt:CGFloat = screenHeight/667
    static let ratioInterval:CGFloat = screenWidth/375
    static let xSafeBottomHeight:CGFloat = is_iphoneX ? 34 : 0

    
    //订单状态：-1->已删除;0->已取消；1->待接单；3->待揽收；5-待分拣；8->仓储中；;10->待发件；13-运输中待接单 15 代派件 16已签收 17 已送车站 18 已送机场
    static let order_All = "-9"
    static let order_Delete = "-1"
    static let order_cancel = "0"
    static let order_waitReceive = "1"
    static let order_waitColloct = "3"
    static let order_waitSorting = "5"
    static let order_storage = "8"
    static let order_waitSend = "10"
    static let order_transit = "13"
    static let order_waitDelivery = "15"
    static let order_signed = "16"
    static let order_station = "17"
    static let order_air = "18"
    
}
